import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';

@Entity('media_check')
export class MediaCheck {
  @PrimaryGeneratedColumn()
  id: number;

  @Column({ name: 'to_user_name' })
  to_user_name: string;

  @Column({ name: 'from_user_name' })
  from_user_name: string;

  @Column({ name: 'create_time' })
  create_time: number;

  @Column({ name: 'msgtype' })
  msgtype: string;

  @Column({ name: 'event' })
  event: string;

  @Column({ name: 'appid' })
  appid: string;

  @Column({ name: 'trace_id' })
  trace_id: string;

  @Column({ name: 'version' })
  version: number;

  @Column({ name: 'suggest' })
  suggest: string;

  @Column({ name: 'label' })
  label: number;

  @Column({ name: 'strategy' })
  strategy: string;

  @Column({ name: 'prob' })
  prob: number;
}
